package Service;

import Entity.File;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface FileService extends IService<File> {

    Boolean saveFile ( File file );

    Boolean modify ( File file );

    File getFileById ( Integer id );

    List<File> getAllFileByUserId ( Integer userId );
}
